﻿using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using PlatformNetCore.Entity;
using PlatformNetCore.Entity.Models;

namespace PlatformNetCore.IService
{
    public interface IAdSlotService
    {
        #region 广告位列表
        LayPager<AdSlot> GetAdSlotPagedList(int pageIndex, int pageSize, Expression<Func<AdSlot, bool>> predicate);
        ResultResponse<AdSlot> GetAdSlot(string id);
        ResultResponse AddAdSlot(AdSlot model);
        ResultResponse UpdateAdSlot(AdSlot model);
        ResultResponse UpdateAdSlotState(List<string> ids, string userName, DataStatus dataStatus);
        IEnumerable<SelectListItem> GetAdSlotListDLL(bool isSelect = false, bool isAll = false);
        #endregion
    }
}
